package com.dlc.shop.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.dlc.shop.bean.model.PurchaseProd;

import java.util.List;

/**
 *
 *
 * @author YXF
 * @date 2021-09-08 10:42:00
 */
public interface PurchaseProdService extends IService<PurchaseProd> {

    /**
     * 获取采购商品和sku信息
     * @param purchaseProds
     */
    void loadProdAndSkuInfo(List<PurchaseProd> purchaseProds);

    /**
     * 根据商品id和skuId列表删除采购信息
     * @param prodId
     * @param skuIds
     */
    void deleteByProdId(Long prodId, List<Long> skuIds);
}
